[#include "/WEB-INF/pages/common/taglibs.ftl"]
				<div class="contenttitle">
                	<h2 class="form"><span>角色管理</span></h2>
				</div>
				<br>
                <form action="[@c.url value='/manage/Role_${act}.action'][@c.param name='backurl' value='${backUrl}'/][/@c.url]" method="post" class="stdform stdform2 validate">
                	<p>
                    	<label>角色：</label>
                        <span class="field"><input class="smallinput" type="text" name="role.name" rel="${action.getValidateMetadata("/manage", "Role_save", "role.name")}" placeholder="请输入长度大于5位的角色" value="${(role.name)!''}"/></span>
                    </p>
                    <p>
                    	<label>标题：</label>
                        <span class="field"><input type="text" placeholder="角色标题" name="role.title" rel="${action.getValidateMetadata("/manage", "Role_save", "role.title")}" value="${(role.title)!''}"/></span>
                    </p>
                    <p>
                    	<label>角色描述： <small>You can put your own description for this field here.</small></label>
                        <span class="field"><textarea class="longinput" name="role.description" rows="5" cols="80" style="height: 86px;">${(role.description)!''}</textarea></span>
                    </p>
                    <p>
                    	<label>有效期限日：<small>超过有效期限的角色将过期无法使用.</small></label>
                        <span class="field"><input readonly="readonly" class="width100 datepicker" type="text" placeholder="角色有效期限日" name="role.expireDay" rel="${action.getValidateMetadata("/manage", "Role_save", "role.expireDay")}" value="[#if (role.expireDay)?? ]${(role.expireDay)?string('yyyy-MM-dd')}[/#if]"/></span>
                    </p>
                    <p>
                    	<label>可用：</label>
                    	<span class="field">
                    		<input type="checkbox" name="role.enabled" [#if role?? && (role.isEnabled())==true]checked="checked"[/#if] value="true"/>
                    	</span>
                    </p>
                    <p class="stdformbutton">
                    	<input type="hidden" name="id" value="${id}"/>
	                  	<button class="submit ">提&nbsp;&nbsp;交</button>
                        <input type="reset" value="重&nbsp;&nbsp;置" class="reset radius2" />
                        <a class="anchorbutton button_alert" href="[@c.url value='/manage/Role_list.action'/]" style="margin-left:6px;background-color: rgb(247, 247, 247); border-color: rgb(204, 204, 204); color: rgb(51, 51, 51);"><span style="background-color: rgb(255, 255, 255); border-color: rgb(221, 221, 221);">返&nbsp;&nbsp;回</span></a>
                    </p>
                </form>
				<br clear="all" />
				<br>